/**
*@描述: api模块
*@author:heli
*/
import {
    URL
} from '../config';

//查询所有模型列表
export const queryAllModelList_path = () => URL + `/uc/api/model/modelList`;
//根据模型ID查询模型字段
export const queryModelColumnList_path = modelId => URL + `/uc/api/model/columnList/${modelId}`;
//根据模型ID查询模型字段
export const getModelParamById_path = (modelId) => URL + `/uc/api/model/columnList/${modelId}`;
//查询所有的API模块列表
export const getListModule_path = () => URL + `/uc/api/open/listModule`;
//API下级字段列表
export const getApiColumnChild_path = () => URL + `/uc/api/open/columnChild`;
//查询模块的API服务列表
export const getModuleChildList_path = (apiId) => URL + `/uc/api/open/apiService/${apiId}`;
//API服务接口明细
export const getSvcDetail_path = (svcId) => URL + `/uc/api/open/svcDetail/${svcId}`;
//API一级请求字段列表
export const getColumnParentRequest_path = (svcId) => URL + `/uc/api/open/columnParentRequest/${svcId}`;
//API一级响应字段列表
export const getColumnParentResponse_path = (svcId) => URL + `/uc/api/open/columnParentResponse/${svcId}`;
//API服务交互数据
export const getPacketQuery_path = (svcId) => URL + `/uc/api/open/packetQuery/${svcId}`;

